<?php

use Illuminate\Database\Seeder;

class AdminTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        \App\Models\Admin::truncate();
        factory(\App\Models\Admin::class,1)->create();
//        $admin = \App\Models\Admin::find(1);
//        $admin->user_name="admin";
//        $admin->email="120235331@qq.com";
//        $admin->save();
    }
}
